﻿using LForum.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Layans.Data
{
    public class PicCommentNews
    {
        [Key]
        public int Id { get; set; }

        public NewsPic Img { get; set; }

        public DateTime CreationTime { get; set; }

        //public ExternalLoginConfirmationViewModel avatar { get; set; }

        [Required]
        [StringLength(5000, MinimumLength = 2, ErrorMessage = "полето трябва да е минимум 2 и максимум 5000 символа")]
        public string Contetnt { get; set; }

        public ExternalLoginConfirmationViewModel username { get; set; }

        public string avatars { get; set; }

        public string Content { get; set; }

        public Avatar avatar { get; set; }

        public string user { get; set; }
    }
}
